package com.service.impl;

import com.service.ResourceService;
import org.springframework.stereotype.Repository;

@Repository
public class ResourceServiceImpl implements ResourceService {
    @Override
    public void saveUrl(String url, String password) {
        System.out.println("url:" + url);
        System.out.println("password:" + password);
        //TODO：判断当前参数是否有空格
        System.out.println(password.equals("1234")?"password没有空格":"password有空格");
    }
}
